package realestate.manager.object;

import realestate.entity.ObjectOnMapShort;
import realestate.entity.Owner;
import realestate.entity.RealEstate;
import realestate.manager.request.IRequest;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 12.04.11
 * Time: 18:01
 * To change this template use File | Settings | File Templates.
 */
public interface IRAManager<R extends RealEstate> {

	public R getById(Long id);
	public boolean remove(Long id);
	public boolean remove(R object_to_remove);
	public R add(R new_object);

	public List<ObjectOnMapShort> getShortList(IRequest request, int zoom_level);
	public IRequest buildRequest();


}
